package com.cdwm.mrp.common.tools;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @version v1.0
 * @Author: lyw
 * @Date: 2021/8/3
 */
@Getter
@AllArgsConstructor
public enum ResultCode {

    FILE_TYPE_ERROR(6000,"文件类型错误"),
    USERNAME_PASSWORD_ERROR(5001,"用户名密码错误"),
    SUCCESS(1000, "操作成功"),
    FAILED(1001, "操作失败"),
    VALIDATE_FAILED(1002, "参数校验失败"),
    ERROR(5000, "未知错误");


    private Integer code;
    private String message;

}
